import react from 'react'
import './index.css'
const SelectComp = (props) => {
  return <div className='simple-button' onClick={() => { props.onChange(!props.isSimpleMap) }}>
    {props.isSimpleMap ? '简' : '详'}
  </div>
}

export default SelectComp